package chixing.day13.class32;

public class MyCompareTest {
    public static void main(String[] args) {
    Student s1 = new Student("张三", 1, "12352459", 123432489);
    Student s2 = new Student("李四", 2, "12344321489", 123423529);
    Student s4 = new Student("王五", 3, "12345464689", 142342789);
    Student s3 = new Student("赵六", 4, "123456789", 1234623689);
    Student s5 = new Student("张三", 1, "12352459", 123432489);
    int result =s1.compare(s2); //-2
    }

}
